package com.mingqijia.gassafety.webserver.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class OrganizationDepartmentResponse {

    @ApiModelProperty(value = "组织部门id")
    private String id;

    @ApiModelProperty(value = "组织部门父级id")
    private String pId;

    @ApiModelProperty(value = "管辖组织")
    private String orgName;

    @ApiModelProperty(value = "管理区域")
    private String funcName;

    @ApiModelProperty(value = "组织部门类型")
    private String  orgType;

    @ApiModelProperty(value = "组织部门类型名称")
    private String  orgTypeName;


//    @ApiModelProperty(value = "设备数量")
//    private Integer imeiSum;

    @ApiModelProperty(value = "安装数量")
    private Integer installSum;

    @ApiModelProperty(value = "显示顺序")
    private Integer displayOrder;

    @ApiModelProperty("管理区域功能区+街道编码列表")
    private List<String> funcCodes;

    @ApiModelProperty("管理区域商圈编码列表")
    private List<String> funcTradeCodes;

    @ApiModelProperty(value = "树形结构")
    private List<OrganizationDepartmentResponse> children;
}
